<?php                                              
    require_once "../query/select.php" ;   
	
	class Cnews extends Select{
		function print_news(){
			$res = $this->return_news() ;
			return $res ;
		}
		
		function print_comment(){
			$res = $this->return_com() ;
			return $res;
		}
	}
	
	$cnews 		= new Cnews();
	$news 		= $cnews->print_news();
	$comment	= $cnews->print_comment() ;
?>